package com.yanze.schoolinformation.adapter.vp;

import android.content.Context;
import android.view.View;

/**
 *  定义一个ViewHolder接口来提供布局和绑定数据
 * Created by MrZheng on 2018/3/21.
 */

public interface ViewPagerHolder<T> {

    //创建View
    View createView(Context context);

    //绑定数据
    void bindView(Context context, int position, T data);
}
